import React from 'react'
import '../common.scss'

const Layer = (props) => {
  const { show, close } = props

  return <div
    onClick={close}
    className='layer'
    style={{ display: `${ show ? 'block' : 'none' }` }}
  >
  </div>
}

export default Layer